using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input.Touch;

namespace SimplePong
{
    public class HelpScreen : Screen
    {

        
        Texture2D help;
        string contentroot = "textures/Menu/Help/";

        


        public HelpScreen() : base()
        {
            
        }

        public override void LoadContent()
        {
            
            help = GameGlobals.content.Load<Texture2D>(contentroot + "help");

            
        }

        public override void Initialize()
        {

        }

        public override void Update()
        {
            if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
                ScreenManager.TransitionTo("MainMenu", "BlackFade");
            
        }

        public override void Draw()
        {
            spriteBatch.Begin();
            spriteBatch.Draw(help, Vector2.Zero, Color.White);
            spriteBatch.End();
        }
    }
}
